package com.lxyk.yygh.user.client;

import com.lxyk.yygh.model.user.Patient;
import com.lxyk.yygh.user.client.impl.HospFeignClientImpl;
import com.lxyk.yygh.vo.hosp.ScheduleOrderVo;
import com.lxyk.yygh.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Repository
@FeignClient(name="service-hosp",fallback = HospFeignClientImpl.class)
public interface HospFeignClient {


    /**
     * 根据排班id获取预约下单数据
     */
    @GetMapping("/api/hosp/hospital/inner/getScheduleOrderVo/{scheduleId}")
    ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);
    /**
     * 获取医院签名信息
     */
    @GetMapping("/api/hosp/hospital/inner/getSignInfoVo/{hoscode}")
    SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);




}
